from ftllibs.items.itemtools import ItemIconData

class Item_3188():
    def __init__(self):
        self.parent=False
        self.Name="Blackfire Torch"
        self.IconFileName="3188.png"
        self.ID=3188
        self.Stack=0
        self.MaxStack=18
        self.Built_From=['3098','3136']
        self.Builds_Into=[]
        self.Tags=['ability_power','health','cooldown_reduction','magic_penetration']
        self.Costs = 700
        self.Total_Costs = 2950
        self.Description="+70 Ability Power +250 Health Unique Passive: +10% cooldown reduction Unique Passive: +18 magic penetration Unique Passive: Your spells burn for an additional 3.5% of the target champion's maximum health in magic damage over 2 seconds. Each second burned consumes a charge. Up to 18 charges are generated when not in use."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["twistedtreeline","dominion"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Ability_Power += 40.0
        self.parent.Health += 300.0
        self.parent.Cooldown_Reduction += 10.0
        self.parent.Magic_Penetration_Flat += 18.0
        # above is %
        self.UpdateStats_Custom()

    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass
